-
Log on to your target using the
login command.
Command
LOGIN
Description
Log on to a Double-Take Availability machine
Syntax
LOGIN <machine> <username> <password> [domain]
Options
- machine—Name of the machine
- username—Name of the user. The username is limited to 100 characters.
- password—Password associated with the user name. The password is limited to 100 characters.
- domain—If logging in using a domain account, this is the domain name. If logging in using a local account, this is the machine name. The domain is limited to 100 characters.
Examples
login alpha administrator ******
Notes
- Options that contain non-alphanumeric characters must be enclosed in quotation marks.
- The password cannot be a Double-Take Availability keyword. These are any DTCL command (source, target, and so on.) or any DTCL shortcut command (env, mon, rep, and so on).
- When scripting with this command, it will return one of three positive numbers: 0 (no access granted), 1 (monitor access granted), or 2 (full access granted).
-
Identify your source that you will be restoring to by using the
source command.
Command
SOURCE
Description
Identifies a machine as the active source machine
Syntax
SOUrce <source>
Options
source—Name of the source
Examples
Notes
Source names that contain non-alphanumeric characters must be enclosed in quotation marks.
-
Restore Double-Take Availability data from the target to the source by using the
restore command.
Command
RESTORE
Description
Initiates the restoration process
Syntax
RESTORE <repset> FROM <target> ORIGINAL <original_source>
[, OVERWRITE | NOOVERWRITE] [, OVERWRITENEWER | NOOVERWRITENEWER] [, USETARGETDB | NOUSETARGETDB]
[, RESTOREDBTOO | NORESTOREDBTOO] [, CHECKSUM | NOCHECKSUM][, ORPHANS | NOORPHANS]
Options
- repset—Name of the replication set
- target—Name of the target, an IP address on the target, or a virtual IP address
- original_source—Name of the original source
-
OVERWRITE—Overwrites files on the source
- NOOVERWRITE—Does not overwrite files on the source
- OVERWRITENEWER—Overwrites files on the source even if the source file is newer than on the target
- NOOVERWRITENEWER—Does not overwrite files on the source that are newer on the source than on the target
- USETARGETDB—Uses the replication set from the target machine
- NOUSETARGETDB—Uses the replication set from the source machine
- RESTOREDBTOO—Restores the replication set database from the target to the source
- NORESTOREDBTOO—Does not restore the replication set database from the target to the source
- CHECKSUM—Performs a block checksum comparison and only restores those blocks that are different
- NOCHECKSUM—Does not perform a block checksum comparison and restores those files that are different
- ORPHANS—Moves or deletes orphan files on the source
- NOORPHANS—Does not move or delete orphan files on the source
Examples
restore DataFiles from beta ,overwritenewer ,usetargetdb
Notes
- The default settings for this command are overwrite, overwritenewer, usetargetdb, restoredbtoo, and noorphans.
- The options can be used in any combination and in any order. The first option does not require a comma, but the second and remaining options do require a comma before the option.
- The source command is required before each use of the restore command.
- This command requires the original source option.
- Options that contain non-alphanumeric characters must be enclosed in quotation marks.
- When scripting with this command, if a successful restoration connection is established, the command will return a positive number, which is the connection ID assigned to that connection.
-
After the restoration is complete, the connection will remain connected and continue replicating data changes from the target to the source until the restoration connection is manually disconnected on the target using the
disconnect command.
Command
DISCONNECT
Description
Disconnects a specified source/target connection for the currently selected source
Syntax
DISCONnect <con_id | *>
Options
- con_id—Connection ID assigned to the source/target connection
- *—Specifies all connection IDs
Examples
- disconnect 1
- disconnect *